import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/pages/Index.vue';
import Demo01 from '@/pages/Demo01.vue';

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: '/',
            name: 'IndexPage',
            component: Index
        },{
            path: '/demo01',
            name: 'Demo01',
            component: Demo01
        }
    ]
})
